//
//  CTPersonalMessageView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/6/10.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CTMessageListItem;

@protocol CTPersonalMessageViewDelegate;

@interface CTPersonalMessageView : UIView

@property(nonatomic,setter=setMessageListArr:)NSArray * listArr;
@property(nonatomic,assign)id<CTPersonalMessageViewDelegate>delegate;
@property(nonatomic,setter=setViewHide:)BOOL hideView;

-(void)refresh;
-(void)refreshPullDownEnd;
-(void)refreshPullUpEnd;

-(void)reloadData;

@end


@protocol CTPersonalMessageViewDelegate <NSObject>

-(void)refreshControlPullDown:(CTPersonalMessageView *)view;
-(void)refreshControlPullUp:(CTPersonalMessageView *)view;

-(void)selectPersonalMessageAction:(CTMessageListItem *)itm;
-(void)deletePersonalMessageAction:(CTMessageListItem *)itm;

-(void)personMesgImageClicked:(CTPersonalMessageView *)view withItem:(CTMessageListItem *)itm;

@end